home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000824-20010305
/
000204_news@columbia.edu _Wed Jan 10 22:13:02 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2001-03-05
|
5KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id WAA21441
for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 10 Jan 2001 22:13:01 -0500 (EST)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA22167
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 10 Jan 2001 22:13:00 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id WAA00208
for kermit.misc@watsun.cc.columbia.edu; Wed, 10 Jan 2001 22:09:11 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
Message-ID: <3A5D2372.9988129C@cyberbills.com>
From: Victor Zele <victor@cyberbills.com>
Organization: CyberBills, Inc.
Subject: scripting problem
Date: Thu, 11 Jan 2001 03:07:31 GMT
To: kermit.misc@columbia.edu
I'm having a weird problem with a script where I can run all
the commands interactively fine, but when I run them in my script
it fails at the SEND (resend) command with the error,
Retry 0: Timeout on pathname
Transfer incomplete
I never get the output, "Sending: filename"
Have you every seen this problem? I've checked all the
parameters for the comm port and modem and tty but they
are all the same. I assume its the tty that's the only
difference that may be causing this.
I turned off pathnames because of the error message but no
change... Anyways, the commands work when I type them.
Here is the trace output. Kermit version shown at the end.
Any ideas? thanks
Victor
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# ./kermit.sh
TRACE ON
>>> %m: "1"
>>> %n: "555-1212"
>>> %h: "host"
">> %p: "
>>> %f: "file.txt"
>>> %d: "20010110-1851"
>>> giveup: " hangup, close, exit 1 {FATAL: \%1 (Connection closed)} "
...cut...
[1] -F: "/root/bin/kermit.sh"
>>> %a: "0"
Communications Parameters:
Line: /dev/ttyS1, speed: 57600, mode: local, modem: usrobotics
Parity: none, stop-bits: (default) (8N1)
Duplex: full, flow: rts/cts, handshake: none
Carrier-watch: auto, close-on-disconnect: off
Lockfile: /var/lock/LCK..ttyS1
Terminal bytesize: 7, escape character: 28 (^\)
Carrier Detect (CD): Off
Dataset Ready (DSR): On
Clear To Send (CTS): On
Ring Indicator (RI): Off
Data Terminal Ready (DTR): On
Request To Send (RTS): On
Type SHOW DIAL to see DIAL-related items.
Type SHOW MODEM to see modem-related items.
Trying: 555-1212...
Device: /dev/ttyS1, modem: usrobotics, speed: 57600
Dial timeout: 70 seconds
To cancel: type your interrupt character (normally Ctrl-C).
Call complete: "CONNECT 44000/ARQ/V90/LAPM/V42BIS".
>>> %0: "_forx"
>>> %1: "%i"
>>> %2: "1"
>>> %3: "6"
>>> %4: "1"
>>> %5: ">"
>>> %6: "\flit(output \13, input 10 Name:,, if success break )"
[2] +M: "_forx"
>>> _for2: " _getargs,define \%i 1,:_..top,if > \%i 6 goto _..bot,output \13, input 10 Name:,, if success break ,:_..inc,incr \%i 1,goto _..top,:_..bot,_putargs"
>>> break: "goto _..bot"
>>> continue: "goto _..inc"
>>> %0: "_for2"
>>> %1: "%i"
>>> %2: "1"
>>> %3: "6"
>>> %4: "1"
>>> %5: " > "
[3] +M: "_for2"
>>> %0: "/root/bin/kermit.sh"
>>> %1: "0"
>>> %2: (undef)
>>> %3: (undef)
>>> %4: (undef)
>>> %5: (undef)
>>> %6: (undef)
>>> %7: (undef)
>>> %8: (undef)
>>> %9: (undef)
>>> %i: "1"
0285SFN
Host Name:>>> %0: "break"
[4] +M: "break"
[3] -M: "/root/bin/kermit.sh"
>>> %0: "/root/bin/kermit.sh"
>>> %1: "0"
>>> %2: (undef)
>>> %3: (undef)
>>> %4: (undef)
>>> %5: (undef)
>>> %6: (undef)
>>> %7: (undef)
>>> %8: (undef)
>>> %9: (undef)
[2] -M: "_forx"
>>> _for2: (undef)
[1] -F: "/root/bin/kermit.sh"
PSPC08
You are now into the XXX system
Connected to 0002 XXX_HKD
Enter logon id: USER
Enter password: XXX
...Attempting logon...
** LOGON SUCCESSFUL **
Making outbound connection...CONNECTED
CONNECTED found
The current File Transfer Protocol is ZMODEM>>> %0: "_xif"
>>> %1: "\flit(,sleep 2,resend \%f,if fail stop,,,pause 2,echo Now receiving files: \%d.\v(filenum),receive /rename-to:\%d.\v(filenum),if fail giveup {RECEIVE failed} )"
[2] +M: "_xif"
>>> _if2: "_getargs,,sleep 2,resend \%f,if fail stop,,,pause 2,echo Now receiving files: \%d.\v(filenum),receive /rename-to:\%d.\v(filenum),if fail giveup {RECEIVE failed} ,_putargs"
>>> %0: "_if2"
[3] +M: "_if2"
>>> %0: "/root/bin/kermit.sh"
>>> %1: "0"
>>> %2: (undef)
>>> %3: (undef)
>>> %4: (undef)
>>> %5: (undef)
>>> %6: (undef)
>>> %7: (undef)
>>> %8: (undef)
>>> %9: (undef)
Retry 0: Timeout on pathname
Transfer incomplete
[2] -M: "_xif"
[1] -F: "/root/bin/kermit.sh"
C-Kermit 7.0.196, 1 Jan 2000, for Linux
Copyright (C) 1985, 2000,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/root/bin/) C-Kermit>exit